﻿using System;
using System.Collections.Generic;
using Color = System.Drawing.Color;
using SwinGame;

namespace Gundam_2._0_Alpha.src
{
    public class CreateProfileAction: IAction
    {
        Font f = new Font("subtitles.ttf", 30);  //30 is point size

        public string name;

        public CreateProfileAction()
        {
            int textPosX = 450, textPosY = 365;
            Input.StartReadingText(Color.Red, 16, f, textPosX, textPosY);
        }

        public void DoAction(GameController gc)
        {
            name = Input.TextReadAsASCII();
        }

    }
}
